	<?php $chungLoai=getChungLoai($idChungLoai);?>
    <div id="content">
		<h2>Sửa chủng loại <?php echo $chungLoai[2];?></h2>
		<ul class="tabs">
			<li class="active"><a href="#" title="Item1"><span>This is a tab</span></a></li>
			<li><a href="#" title="Item2"><span>This is other tab</span></a></li>
		</ul>
		<form method="post" action="sua_chungloai_action.php?id=<?php echo $chungLoai[1];?>">
		<fieldset>
        <label>nằm trong mục:</label>
        <?php
		$listChungLoai=listChungLoai();
		//var_dump($listChungLoai);exit();
		$listMenu=listMenu('0',$listChungLoai,true,$chungLoai[0]);
		//var_dump($listMenu);exit();
        ?>
			<select name="chungLoaiCha">
            	<option value="0">Main menu</option>
                <?php
					echo $listMenu;
				?>
            </select>
            
			<label>Tên chủng loại:</label>
			<span class="small_input"><input class="small" name="tenChungLoai" type="text" value="<?php echo $chungLoai[2];?>" /></span><br class="hid" />
			
			<label>ẩn hiện:</label>
			<span class="medium_input"><input class="medium" name="anHien" type="text" value="<?php echo $chungLoai[3];?>" /></span><br class="hid" />
			
			
			
			<p><input class="button" type="submit" name="submit" value="đồng ý" /></p>
			<span class="clear"></span>
		</fieldset>
		</form>
		
	</div>
